﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IHoaDonNhapHang
    {
        [OperationContract]
        bool InsertHDNH(string maHDNH, string maNCC, string maKho, string maNV, DateTime ngayNhap, string chungTuNH, float vAT, double tongThanhTien, double soTienDaDua, double soTienConLai, DateTime ngayHenThanhToan);
        [OperationContract]
        bool UpdateHDNH(string maHDNH, string maNCC, string maKho, string maNV, DateTime ngayNhap, string chungTuNH, float vAT, double tongThanhTien, double soTienDaDua, double soTienConLai, DateTime ngayHenThanhToan);
        [OperationContract]
        bool DeleteHDNH(string MaHDNH);
        [OperationContract]
        string LayDS_HoaDonNhapHang();
    }
}
